<template>
    <el-container style="height:100%">
        <!-- aside侧边栏 -->
        <Aside/>
        <el-container direction="vertical">
            <Header/>
            <el-main class="main-box">
                <transition>
                    <router-view></router-view>
                </transition>
            </el-main>
        </el-container>
    </el-container>
</template>
<script>
import Aside from "@/components/Aside.vue";
import Header from "@/components/Header.vue";
export default {
  name: "index",
  components: {
    Aside,
    Header
  },
  data() {
    return {};
  },
  methods: {},
  computed: {},
  mounted() {}
};
</script>
<style>
.main-box {
  background: #f4f4f5;
}
.Router {
     transition: all .1s ease;
}
</style>
